package com.hand.test.service.impl;/**
 * @author Estelle@앙수청
 * @date 2019/7/20 15:07
 */

import com.hand.test.domain.MatterStorerow;
import com.hand.test.domain.StoreDTO;
import com.hand.test.mapper.MatterStoreMapper;
import com.hand.test.service.MatterStoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *  @author Estelle@앙수청
 *  @date 2019/7/20 15:07
 */
@Service
public class MatterStoreServiceImpl implements MatterStoreService {

    @Autowired
    private MatterStoreMapper matterStoreMapper;

    @Override
    public StoreDTO queryMatterStore(Integer matterId) {
        return matterStoreMapper.queryMatterStore(matterId);
    }

    @Override
    public MatterStorerow queryNoCount() {
        return matterStoreMapper.queryNoCount();
    }

    @Override
    public void deleteMatterStorerow(Integer storerowId) {
        matterStoreMapper.deleteMatterStorerow(storerowId);
    }
}
